Skip to content

gh-107862: Add property tests for strftime/strptime#124550

Draft
pganssle wants to merge 1 commit intopython:mainfrom
pganssle:strftime_hypothesis
Draft

gh-107862: Add property tests for strftime/strptime#124550
pganssle wants to merge 1 commit intopython:mainfrom
pganssle:strftime_hypothesis

Conversation

@pganssle
Copy link
Copy Markdown
Member

@pganssle pganssle commented Sep 25, 2024

This adds a new test for strptime / strftime that uses hypothesis to ensure that some inverse relationships hold. While creating it I found several bugs: #124531, #124529 and #124549.

I am hoping this could be useful with #120752

To Do:

  • Add stubs to make sure this works without hypothesiis
  • Configure this the same way test_zoneinfo_property is configured so that it is run separately against the C and Python implementations.

@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label Sep 25, 2024
@StanFromIreland StanFromIreland changed the title gh-NNNNNN: Add property tests for strftime/strptime gh-107862: Add property tests for strftime/strptime Sep 16, 2025
@StanFromIreland
Copy link
Copy Markdown
Member

Attached Hypothesis meta issue #107862

@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news stale Stale PR or inactive for long period of time. tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants